package com.yc.cloud.portal.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yc.cloud.basic.dto.BaseQueryParam;
import com.yc.cloud.entity.Avatars;
import com.yc.cloud.portal.vo.AvatarsVo;

import java.util.List;

/**
 * <p>
 * 数字人形象 服务类
 * </p>
 *
 * @author Yancy
 * @since 2024-03-10
 */
public interface AvatarsService extends IService<Avatars> {

    /***
     * description:查询列表
     * @param param 查询条件
     * @return 数据信息
     */
    IPage<AvatarsVo> list(BaseQueryParam param);

    AvatarsVo convertVo(Avatars avatars);

    List<AvatarsVo> convertVo(List<Avatars> avatarsList);

    Avatars create(Avatars param);

    Avatars get(Long id);

    Avatars update(Long id, Avatars avatars);

    boolean delete(Long id);
}



